home *** CD-ROM | disk | FTP | other *** search
- /*
- ** FetchRefs.edge - A script to interface FetchRefs with Edge
- **
- ** By Jon Rocatis, Wednesday 11-Jan-95 16:06:55
- **
- */
-
- OPTIONS RESULTS
- OPTIONS FAILAT 20
-
- /* Define a temporary filename to put the reference into */
- filename = 'T:FetchRefs.temp'
-
- position eow
- cursor right 1
- copy word back resultbuff
- searchstr = result
-
- if rc==0 then do
- ADDRESS 'FETCHREFS'
- FR_GET FIND searchstr'#?' TO filename FILEREF
- if rc==0 then do
- ADDRESS 'EDGE'
- new
- if rc==0 then do /* if all is well then talk to it */
- address value result
- open filename
- end
-
- /* Delete the temp autodoc file */
- ADDRESS COMMAND 'C:Delete >NIL:' filename
- end
- end
-
-